public class Test {
    public static void main(String[] args) {
        BinarySearchTree bTree = new BinarySearchTree();
        bTree.insert(10);
        bTree.insert(5);
        bTree.insert(9);

        System.out.println(bTree.search(10));

        bTree.remove(10);

        System.out.println(bTree.search(10));
    }
}
